Object.myEntries = function(obj){
    let res = []
    for(let key in obj){
       obj.hasOwnProperty(key)&&res.push([key,obj[key]])
    }
    return res
}